package business.service.controller;

import common.AjaxResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * Created by Ken on 2020/5/6.
 */
@Api(value = "测试服务",description="测试服务")
@RestController
@RequestMapping(value = "/business/api/hello")
public class HelloController {

    @ApiOperation(value = "测试接口", notes = "测试用的")
    @RequestMapping( method = RequestMethod.GET)
    public AjaxResult hello() {
        return new AjaxResult().setSuccess(true).setMessage("Hello !!!");
    }
}
